package com.javasm.domin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljy
 * @since 2022-01-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("depot_dict")
public class DepotDict  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 仓库字典表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 编码
     */
    private Integer code;

    /**
     * 值
     */
    private String value;

    /**
     * 父 id
     */
    private Integer parent;


}
